
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<div class="container"
	style="background-image: url('resources/images/body_background.jpg'); padding-bottom: 20px">
	<div class="offset4">
		<div class="nav" style="margin-right: 40px">
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/home"
					id="homeLink"> <span
					class="greenmenu <%if (request.getAttribute("sessionHome").equals("home")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.home.label" />
						</div>
				</span>

				</a>
			</div>
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/about"
					id="aboutLink"> <span
					class="orangemenu <%if (request.getAttribute("sessionHome").equals("about")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.about.label" />
						</div>
				</span>

				</a>
			</div>
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/menu"
					id="menuLink"> <span
					class="purplemenu <%if (request.getAttribute("sessionHome").equals("menu")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.menu.label" />
						</div>
				</span>

				</a>
			</div>
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/news"
					id="newsLink"> <span
					class="greenmenu <%if (request.getAttribute("sessionHome").equals("news")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.news.label" />
						</div>
				</span>

				</a>
			</div>
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/library"
					id="libraryLink"> <span
					class="orangemenu <%if (request.getAttribute("sessionHome").equals("library")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.library.label" />
						</div>
				</span>

				</a>
			</div>
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/career"
					id="careerLink"> <span
					class="purplemenu <%if (request.getAttribute("sessionHome").equals("career")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.career.label" />
						</div>
				</span>

				</a>
			</div>
			<div class="mainmenu">
				<a class="submenu" href="${pageContext.request.contextPath}/contact"
					id="contactLink"> <span
					class="greenmenu <%if (request.getAttribute("sessionHome").equals("contact")) {%> menuactive <%}%>">
						<div class="menutitle">
							<spring:message code="menu.contact.label" />
						</div>
				</span>

				</a>
			</div>
		</div>
	</div>
	<div id="myCarousel" class="carousel slide">

		<div class="carousel-inner" style="position: absolute">
			<c:forEach items="${slider}" var="slider" varStatus="count">
				<c:choose>
					<c:when test="${count.count == 1}">
						<div class="item imageLoad active">
							<img src="resources/slider-images/${slider.name}" alt="homepage">
						</div>
					</c:when>
					<c:otherwise>
						<div class="item imageLoad">
							<img src="resources/slider-images/${slider.name}" alt="homepage">
						</div>
					</c:otherwise>
				</c:choose>
			</c:forEach>
		</div>

	</div>
	<div class="item">

		<img class="logopaschino" src="resources/images/logo_paschino.png">

	</div>
</div>